package com.story.api.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * @author Administrator
 * @decription 用户收藏夹列表
 * @Date 2018-02-08 9:16
 */
@TableName(value = "user_song_list")
public class UserSongList extends Model<AppUser> {

    private Integer id;

    private Integer userId;

    private Integer vedioId;

    public UserSongList() {
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public UserSongList(Integer id, Integer userId, Integer vedioId) {
        this.id = id;
        this.userId = userId;
        this.vedioId = vedioId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getVedioId() {
        return vedioId;
    }

    public void setVedioId(Integer vedioId) {
        this.vedioId = vedioId;
    }

    @Override
    public String toString() {
        return "UserSongList{" +
                "id=" + id +
                ", userId=" + userId +
                ", vedioId=" + vedioId +
                '}';
    }
}
